<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
    <div class="w790">
        <script>
            $(document).ready(function(e) {
                $('#control li').each(function(index, element) {
                    $(this).click(function(e) {
                        $(this).parent().find('li').removeClass('cur');
                        $(this).addClass('cur');
                        $('.setting_table').hide();
                        $('.setting_table').eq(index).show();
                    });
                });
            });

            //切换栏目方式
            function parseCateType(e){
                if($(e).val()==1){
                    $('#pagesize').show();
                }else{
                    $('#pagesize').hide();
                }
            }
            function after(e){
                $(e).parent().parent().parent().parent().parent('li').after($(e).parent().parent().parent().parent().parent('li').prev());
            }
            function append(e){
                $(e).parent().parent().parent().parent().parent('li').next().after($(e).parent().parent().parent().parent().parent('li'));
            }
            function delnews(e){
                $(e).parent().parent().parent().parent().parent().remove();
            }
            function addnews(){
                var html = $('#copyHTML').html();
                $(html).appendTo('#replyList ul');
            }
        </script>
        <style>
            #replyList ul li{margin-top:5px; background:#eee; padding:8px; width:700px;}
            .delnews{display:block; width:30px; font-size:20px; height:30px; border-radius:15px; background:#f00; color:#fff; line-height:30px; text-align:center;}
        </style>
        <div class="h"><a href="{:U('index')}" class="btn btn-info"><i class="glyphicon glyphicon-circle-arrow-left"></i> 返回列表</a>
        </div>
        <style>#control{border-bottom:1px solid #558fca; margin-bottom:10px;}
        #control li{float:left; height:40px; line-height:40px; border:1px solid #558fca; border-bottom:none;}
        #control li a{padding:0px 8px;}
        #control li.cur{background:#558fca;}
        #control li.cur a{color:#fff; font-weight:bold;}
        .relateListdel{display:inline-block; width:20px; height:20px; text-align:center; font-size:18px; cursor:default;}
        </style>
        <form class="checkoutform form-horizontal" action="{:U('insert')}" method="post">
            <div class="table_ container">

                <div class="setting_table"><div class="form-group">
                    <label class="col-sm-2 control-label">分组名称</label>
                    <div class="col-sm-10">
                        <input class="form-control" datatype="*" name="title" type="text" value="" id="title">
                    </div>
                </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态</label>
                        <div class="col-sm-10">
                            <tr>
                                <label class="checkbox-inline">
                                    <input name="status" type="radio" id="radio" value="1" checked>
                                    启用</label>
                                <label class="checkbox-inline">
                                    <input type="radio" name="status" id="radio2" value="0">
                                    禁用</label>
                            </tr>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">备注</label>
                        <div class="col-sm-10">
                            <textarea class="form-control" name="remark" class="" cols="50" rows="6" id="remark">{$info.remark}</textarea>
                        </div>
                    </div>
                </div>
            </div>
    </div><div class="pages"><button type="submit" class="btn btn-success">保存</button></div>
    </form>
</div>
<div class="clear"></div>
</div>

</body></html>












